Skip to content

Conversation

@Jonathing
Copy link
Member

@Jonathing Jonathing commented Oct 20, 2025

@Jonathing Jonathing changed the title 0.4 - Complex OS Rules, Log Cache Misses, and Bump Java Provisioner 0.4 - Java 25, Complex OS Rules, Log Cache Misses, and Java Provisioner 2.0 Oct 28, 2025
@Jonathing
Copy link
Member Author

This is ready for re-review.

@Jonathing Jonathing marked this pull request as ready for review October 28, 2025 14:32
@Jonathing Jonathing requested a review from LexManos October 28, 2025 14:32
return null;
}
ret = downloaded.home();
ret = disco.provision(version).home(); // Implementation detail, we only download jdks, so no need to check here
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as this logs the details for the failed attempts, but doesn't log on success this is fine.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not log on success, yes. This PR also fixes a few other issues with cache misses causing the full log to be released every sync.

@LexManos
Copy link
Member

Nothing is jumping out at me as wrong, so as long as it works for got it.
Not sure why you changed GlobalOptions to Mavenizer, but it doesn't matter so I don't care.

@Jonathing
Copy link
Member Author

Not sure why you changed GlobalOptions to Mavenizer, but it doesn't matter so I don't care.

The idea was to make some sort of "global class" with a name that makes sense. Mavenizer.LOGGER makes more sense than GlobalOptions.LOGGER.

@Jonathing
Copy link
Member Author

I am merging this immediately. I unfortunately haven't been able to test with my two MacBooks at home. If there are issues with Macs still, I'll fix them in a patch.

@Jonathing Jonathing force-pushed the feat/jonathing/0.4/java-provisioner-2.0 branch from bd95018 to 5cc3605 Compare October 29, 2025 16:57
@Jonathing Jonathing merged commit 5cc3605 into MinecraftForge:master Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants